Mercurial > repos > public > sbplib
view assertIsMember.m @ 806:f779b5aca5eb feature/poroelastic
Add type assertions, fix bug, edit documentation and formatting
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Fri, 27 Jul 2018 09:49:24 -0700 |
parents | c596122374df |
children |
line wrap: on
line source
function assertIsMember(v, allowed) assert(ismember(v, allowed), 'Expected ''%s'' to be in the set %s', inputname(1), toString(allowed)); end