lib: use triple equals

maybe for little performance