Cheddar Documentation
Search
⌃
K
Cheddar Documentation
Search
⌃
K
Introduction
Syntax
Literals
Mathematics
Variables
Functions
Default Operators
Control Flow
Standard Library
String
Bytes
Count
Length
Match
Slice
Tail
Chars
Head
Lines
Ord
Split
Test
Chunk
Index
Lower
Reverse
Substitute
Upper
Developing
Powered By
GitBook
Test
type
returns
Method
boolean
Arguments
name
type
description
regex
regex
Regex to verify if matches
Explanation
Determines if given
regex
matches the string.
Examples
"Goat"
.
test
(
/
oat
/
)
==
true
"HeLlO"
.
test
(
/
hello
/
i
)
==
true
Previous
Split
Next
Chunk
Last modified
3yr ago