The determination of the amount of tyrosine-protein phosphatase non-receptor type 2 in a sample. The trait is Experimental Factor Ontology entry EFO_0020836 (tyrosine-protein phosphatase non-receptor type 2 measurement).