isSplitFunction

Checks if the given function can be used with Splitter.

enum isSplitFunction (
alias fn
T
Separator
)

Examples

static assert(isSplitFunction!(endsWithSeparator, char, char));
static assert(isSplitFunction!(endsWithSeparator, char, string));

Meta