POptionalGetter
An OptionalGetter is an optic that allows into a structure and querying an optional focus.
Parameters
Types
Functions
Link copied to clipboard
Find the first element matching the predicate, if one exists.
Link copied to clipboard
Get the first target or null
Link copied to clipboard
Get the focus of an OptionalGetter or return the original value while allowing the type to change if it does not match
Link copied to clipboard
Get the focus of an OptionalGetter or null
if the is not there
Link copied to clipboard
Check if there is at least one target
Link copied to clipboard
Get the last target or null