Create an Attempt object with or without a given value so you can do fluent operations on the registered attempt value.
Attempt(value=[any])
Argument | Type | Required | Description | Default |
---|---|---|---|---|
value |
any |
false |
The value to store as the attempt. This can be a value, or a closure/lambda that will be executed to get the value. |
- ArrayIsEmpty
- IsArray
- IsBinary
- IsBoolean
- IsClosure
- IsCustomFunction
- IsDate
- IsDateObject
- IsDebugMode
- IsDefined
- IsEmpty
- IsFileObject
- IsIPv6
- IsJSON
- IsLeapYear
- IsLocalHost
- IsNull
- IsNumeric
- IsNumericDate
- IsObject
- IsQuery
- IsSimpleValue
- IsStruct
- IsValid
- IsXML
- IsXmlAttribute
- IsXMLDoc
- IsXMLElem
- IsXMLNode
- IsXMLRoot
- LSIsNumeric
- structIsEmpty