isOption
lib.options.isOption
Docs pulled from | This Revision | 4 days ago
Returns true when the given argument a is an option
Inputs
a- Any value to check whether it is an option
Examples
lib.options.isOption usage example
isOption 1 // => false
isOption (mkOption {}) // => true
Type
isOption :: a -> Bool
Noogle detected
Implementation
The following is the current implementation of this function.
isOption = lib.isType "option";