1
Fork 0

typescript(option): docs: fixed all the comments where I called Option Maybe and None Nothing

Signed-off-by: prescientmoon <git@moonythm.dev>
This commit is contained in:
Matei Adriel 2019-12-26 16:28:38 +02:00 committed by prescientmoon
parent 09a788f8ff
commit cd5dc00dbd
Signed by: prescientmoon
SSH key fingerprint: SHA256:UUF9JT2s8Xfyv76b8ZuVL7XrmimH4o49p4b+iexbVH4

View file

@ -3,8 +3,8 @@ import { Mapper } from '../internalTypes'
import { isSome } from './isSome' import { isSome } from './isSome'
/** /**
* Apply the function to the value in the Maybe and return it unwrapped. * Apply the function to the value in the Option and return it unwrapped.
* If the Maybe is Nothing, use the default value instead. * If the Option is None, use the default value instead.
* *
* @param _default The default value to use. * @param _default The default value to use.
* @param mapper Function to apply to the inner value. * @param mapper Function to apply to the inner value.