This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@file:Suppress("unused") | |
package com.gameforeverything.guard | |
/** | |
* This function will return a value as per the mapper function @see [block] | |
* if all the parameters supplied are non null and the condition is true | |
* | |
* @param condition this defaults to true | |
* @param block a function that return a instance of a type if the condition is tr |